
<!DOCTYPE html>
<html lang='en-US'>
    <head>
        <!--Document title is project name-->
        <title>NatCorder Scripting Reference on Calligraphy</title>
        <!--Extra information-->
        <meta name='description' content='NatCorder API documentation on Calligraphy'> <!--Populate from Calligraphy-->
        <meta name='keywords' content='NatCorder, Calligraphy, Unity'> <!--Populate from Calligraphy-->
        <meta name='author' content='Calligraphy by Yusuf Olokoba'>
        <meta charset='UTF-8'>
        <!--Style sheet-->
        <link rel='stylesheet' href='../Styles/memberstyles.css'>
    </head>
	
	<body>
        <h1 class='blockname'><a href='../Groups/CameraInput.html'>CameraInput</a>.recordEveryNthFrame</h1>
        <p1 class='faintname'>public  int<b> recordEveryNthFrame;</b></p1>
        <br>
        <br>
        <h2>Description</h2>
        <p1>Control number of successive camera frames to skip while recording.<br><br>
            This is very useful for GIF recording, which typically has a lower framerate appearance.</p1>
        <br>
        <br>
        
        <!--Code example-->
        <!--Must not be indented-->
        <!--There must be no space between the text and the pre tags-->

<code>
<pre>void StartRecording () {
    var gifRecorder = new GIFRecorder(...);
    var cameraInput = CameraInput.Create(gifRecorder, Camera.main);
    cameraInput.recordEveryNthFrame = 4;
}</pre>
</code>
<br>
        
        
        <!--See Also-->
        
        
        <!--Copyright tag-->
        <br>
        <hr>
        <p1 class='copyright'><small>Copyright (c) Yusuf Olokoba 2016</small></p1>
        
	</body>
</html>        
        